package com.gmail.braxton.schafer.nlp;

public class Noun extends Word {

	private Word word;
	private boolean isPerson = false;
	private boolean isPlace = false;
	private boolean isThing = false;
	private boolean isIdea = false;
	
	public Noun(String n) {
		word = new Word(n);
	}
	
	public Noun(Word w)	{
		word = new Word(w);
	}
	
	private boolean checkTypeValidity() {
		if(isPerson && isPlace)
			return false;
		if(isPerson && isThing)
			return false;
		if(isPerson && isIdea)
			return false;
		
		if(isPlace && isThing)
			return false;
		if(isPlace && isIdea)
			return false;
		
		if(isThing && isIdea)
			return false;
		
		if(isPerson && isPlace && isThing)
			return false;
		if(isPerson && isPlace && isIdea)
			return false;
		if(isPlace && isThing && isIdea)
			return false;
		
		if(isPerson && isPlace && isThing && isIdea)
			return false;
		if(!isPerson && !isPlace && !isThing && !isIdea)
			return false;
		
		else
			return true;
	}
	
//	public setType
}
